<?php
$site_path = realpath(dirname(__FILE__));
define('__SITE_PATH', $site_path);
require_once 'model/questions.php';

$id = $_GET["id"];

$question = Questions::findById($id);
?>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <script type="text/javascript">window.jQuery || document.write('<script type="text/javascript" src="/win-skyexpress/js/jquery191.js"><\/script>')</script> 
    </head>
    <body>
<?php
foreach ($question as $_question) {
    echo "Title : {$_question["title"]}<br>";
    echo "Content : {$_question["content"]}<br>";
}
?>
    </body>
</html>